package wcs

import "gitee.com/wcs2/common/models"

// 扫码记录表
type BizScannerRecord struct {
	models.BaseModel
	ScannerCode string      `gorm:"not null;type:varchar(60);column:scanner_code;unique;" json:"scannerCode"` //comment:扫码机编码
	Code        string      `gorm:"type:varchar(150);column:code" json:"code"`                                //comment:站点类型
	ScanTime    models.Time `gorm:"column:scan_time;" json:"scanTime"`                                        //comment:最近扫描时间
}

func (bizScannerRecord *BizScannerRecord) TableName() string {
	return "biz_scanner_record"
}
